process.env.NODE_ENV = 'development';
const commonConfig = require('./webpack.common');
const {merge} = require('webpack-merge');
const path = require('path');
const webpack = require('webpack')
module.exports = merge(commonConfig, {
    devServer: {
       contentBase: './dist',
       port: 3020,
       hot: true,
       progress: true
    },
    devtool: 'cheap-module-source-map',
    plugins: [ new webpack.NamedModulesPlugin(),
           new webpack.HotModuleReplacementPlugin()]
})